Part Number Hot Search : 
CAMD6254 ACT8848 AD7902 4000A DS201 K10T60 1N4741B SY88922V
Product Description
Full Text Search
 

To Download HD6417709A Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  regarding the change of names mentioned in the document, such as hitachi electric and hitachi xx, to renesas technology corp. the semiconductor operations of mitsubishi electric and hitachi were transferred to renesas technology corporation on april 1st 2003. these operations include microcomputer, logic, analog and discrete devices, and memory chips other than drams (flash memory, srams etc.) accordingly, although hitachi, hitachi, ltd., hitachi semiconductors, and other hitachi brand names are mentioned in the document, these names have in fact all been changed to renesas technology corp. thank you for your understanding. except for our corporate trademark, logo and corporate statement, no changes whatsoever have been made to the contents of the document, and these changes do not constitute any alteration to the contents of the document itself. renesas technology home page: http://www.renesas.com renesas technology corp. customer support dept. april 1, 2003 to all our customers
cautions keep safety first in your circuit designs! 1. renesas technology corporation puts the maximum effort into making semiconductor products better and more reliable, but there is always the possibility that trouble may occur with them. trouble with semiconductors may lead to personal injury, fire or property damage. remember to give due consideration to safety when making your circuit designs, with appropriate measures such as (i) placement of substitutive, auxiliary circuits, (ii) use of nonflammable material or (iii) prevention against any malfunction or mishap. notes regarding these materials 1. these materials are intended as a reference to assist our customers in the selection of the renesas technology corporation product best suited to the customer's application; they do not convey any license under any intellectual property rights, or any other rights, belonging to renesas technology corporation or a third party. 2. renesas technology corporation assumes no responsibility for any damage, or infringement of any third-party's rights, originating in the use of any product data, diagrams, charts, programs, algorithms, or circuit application examples contained in these materials. 3. all information contained in these materials, including product data, diagrams, charts, programs and algorithms represents information on products at the time of publication of these materials, and are subject to change by renesas technology corporation without notice due to product improvements or other reasons. it is therefore recommended that customers contact renesas technology corporation or an authorized renesas technology corporation product distributor for the latest product information before purchasing a product listed herein. the information described here may contain technical inaccuracies or typographical errors. renesas technology corporation assumes no responsibility for any damage, liability, or other loss rising from these inaccuracies or errors. please also pay attention to information published by renesas technology corporation by various means, including the renesas technology corporation semiconductor home page (http://www.renesas.com). 4. when using any or all of the information contained in these materials, including product data, diagrams, charts, programs, and algorithms, please be sure to evaluate all information as a total system before making a final decision on the applicability of the information and products. renesas technology corporation assumes no responsibility for any damage, liability or other loss resulting from the information contained herein. 5. renesas technology corporation semiconductors are not designed or manufactured for use in a device or system that is used under circumstances in which human life is potentially at stake. please contact renesas technology corporation or an authorized renesas technology corporation product distributor when considering the use of a product contained herein for any specific purposes, such as apparatus or systems for transportation, vehicular, medical, aerospace, nuclear, or undersea repeater use. 6. the prior written approval of renesas technology corporation is n ecessary to reprint or reproduce in whole or in part these materials. 7. if these products or technologies are subject to the japanese export control restrictions, they must be exported under a license from the japanese government and cannot be imported into a country other than the approved destination. any diversion or reexport contrary to the export control laws and regulations of japan and/or the country of destination is prohibited. 8. please contact renesas technology corporation for further details on these materials or the products contained therein.
hitachi superh tm risc engine sh-3, sh3-dsp sdram interface application notes application notes ade-502-074 rev. 1.0 04/09/02 hitachi, ltd.
rev. 1.0, 02/02, page ii of v i
rev. 1.0, 02/02, page iii of v i cautions 1. hitachi neither warrants nor grants licenses of any rights of hitachis or any third partys patent, copyright, trademark, or other intellectual property rights for information contained in this document. hitachi bears no responsibility for problems that may arise with third partys rights, including intellectual property rights, in connection with use of the information contained in this document. 2. products and product specifications may be subject to change without notice. confirm that you have received the latest product standards or specifications before final design, purchase or use. 3. hitachi makes every attempt to ensure that its products are of high quality and reliability. however, contact hitachis sales office before using the product in an application that demands especially high quality and reliability or where its failure or malfunction may directly threaten human life or cause risk of bodily injury, such as aerospace, aeronautics, nuclear power, combustion control, transportation, traffic, safety equipment or medical equipment for life support. 4. design your application so that the product is used within the ranges guaranteed by hitachi particularly for maximum rating, operating supply voltage range, heat radiation characteristics, installation conditions and other characteristics. hitachi bears no responsibility for failure or damage when used beyond the guaranteed ranges. even within the guaranteed ranges, consider normally foreseeable failure rates or failure modes in semiconductor devices and employ systemic measures such as fail-safes, so that the equipment incorporating hitachi product does not cause bodily injury, fire or other consequential damage due to operation of the hitachi product. 5. this product is not designed to be radiation resistant. 6. no one is permitted to reproduce or duplicate, in any form, the whole or part of this document without written approval from hitachi. 7. contact hitachis sales office for any questions regarding this document or hitachi semiconductor products.
rev. 1.0, 02/02, page iv of v i preface the superh tm risc engine microcomputer is new generation risc microcomputer that provides high-performance operations using a risc-type cpu. this microcomputer also incorporates peripheral functions required for system configuration and achieves low-power consumption that is essential for all microcomputer application devices. this sh-3, sh3-dsp sdram interface application notes can be used as a reference for user system hardware design. this application notes provides examples of sh-3 and sh3-dsp microcomputer interface with external memory (sdram). note that althrough the operations of task examples provided in this application notes have been checked by hitachi, ltd., it is advised that user check the operation of these task exanples prior to using the tasks in the user system. note: superh tm is a registered trademark of hitachi, ltd.
rev. 1.0, 02/02, page v of v i contents section 1 how to use the application notes ....................................................1 1.1 configuration of sdram interface examples .................................................................1 section 2 sdram interface examples ..............................................................3 2.1 sh7709a/sh7729 to sdram interface examples..........................................................3 2.1.1 synchronous dram direct connection (sh7709a/sh7729) ............................3 2.1.2 hm5225165att-a6 (4 mwords x 16 bits x 4 banks).........................................4 2.1.3 hm5212165dtd-b60 (2 mwords x 16 bits x 4 banks).......................................7 2.1.4 hm5264165tt-b60 (1 mword x 16 bits x 4 banks) ...........................................10 2.1.5 power-on sequence (sh7709a/sh7729) ...........................................................13 2.2 sh7709 and sdram interface examples ........................................................................14 2.2.1 synchronous dram direct connection (sh7709) .............................................14 2.2.2 hm5212165d-b60 (2 mwords x 16 bits x 4 banks)............................................16 2.2.3 hm5264165tt-b60 (1 mword x 16 bits x 4 banks) ...........................................18 2.2.4 power-on sequence (sh7709) ............................................................................20 2.3 sh7708r and sdram interface examples......................................................................21 2.3.1 synchronous dram direct connection (sh7708r)...........................................21 2.3.2 hm5212165d-b60 (2 mwords x 16 bits x 4 banks)............................................22 2.3.3 hm5264165-b60 (1 mword x 16 bits x 4 banks) ................................................24 2.3.4 power-on sequence (sh7708r)..........................................................................26
rev. 1.0, 02/02, page vi of v i
rev. 1.0, 02/02, page 1 of 26 section 1 how to use the application notes 1.1 configuration of sdram interface examples the sdram interface examples (section 2) in this application notes consists of the following subsections to describe the sdram interface method. sdram interface examples in this application notes: ? bus state controller (bsc) settings this subsection describes the bsc settings when sdram is connected. ? interface circuit diagram this subsection shows sdram interface circuit examples. note that this application notes describes the sdram interfaces based on the mcu and sdram types summarized below. mcu sdram sh7709a/sh7729 hm5225165att-a6 hm5212165dtd-b60 hm5264165tt-b60 sh7709 hm5212165d-b60 hm5264165tt-b60 sh7708r hm5212165d-b60 hm5264165-b60
rev. 1.0, 02/02, page 2 of 26
rev. 1.0, 02/02, page 3 of 26 section 2 sdram interface examples 2.1 sh7709a/sh7729 to sdram interface examples 2.1.1 synchronous dram direct connection (sh7709a/sh7729) synchronous dram can be selected via the &6 signal, and can be connected to areas 2 and 3 of the physical address space in the sh7709a or sh7729 by using common control signals such as 5$6 . when the memory type bits (dramtp2 to dramtp0) of bcr1 are set to 010, area 2 and area 3 can be used as the normal memory area and synchronous dram area, respectively. when the memory type bits (dramtp2 to dramtp0) of bcr1 are set to 011, both areas 2 and 3 can be used as the synchronous dram area. this lsi supports burst read/single write mode with burst length 1 as a synchronous dram operating mode. the data bus width can be selected as either 16 bits or 32 bits. the burst enable bit (be) of mcr is ignored. in cache-fill/write-back cycles, 16-byte burst transfer is always performed. in write-through area write cycles or non-cacheable area read/write cycles, only one access is performed. to connect this lsi to synchronous dram directly, the 5$6 6 / , 5$6 6 8 , &$6/ , &$68 , rd/ :5 , &6 5 or &6 6 , dqmuu, dqmul, dqmlu, dqmll, and cke signals are used as control signals. these interface control signals, except for &6 5 and &6 6 , are common to each area. in addition, the interface control signals other than cke are valid and latched only when &6 5 or &6 6 is asserted. accordingly, synchronous dram can be connected in parallel to multiple areas. the cke signal is negated (brought low) only when self-refreshing is performed and the cke signal is normally asserted (brought high). the 5$6 6 / , 5$6 6 8 , &$6/ , and &$68 signal outputs are determined depending on whether the address is in the upper or lower 32 mbytes of each area. if the address is in the upper 32-mbyte area (area 2: h'0a000000 to h'0bffffff, area 3: h'0e000000 to h'0fffffff), 5$6 6 8 and &$68 are output. if it is in the lower 32-mbyte area (area 2: h'08000000 to h'09ffffff, area 3: h'0c000000 to h'0dffffff), 5$6 6 / and &$6/ are output. in refresh cycles and mode-register write cycles, 5$6 6 8 and 5$6 6 / or &$68 and &$6/ are output. the 5$6 6 / , 5$6 6 8 , &$6/ , &$68 and rd/ :5 signals and specific address signals specify a command for synchronous dram. the synchronous dram commands are nop, auto-refresh (ref), self-refresh (self), precharge all banks (pall), row address strobe bank active (acvt), read (read), read with precharge (reada), write (writ), write with precharge (writa), and mode register setting (mrs).
rev. 1.0, 02/02, page 4 of 26 byte specification is performed by dqmuu, dqmul, dqmlu, and dqmll. a read/write is performed for the byte for which the corresponding dqm is low. in big-endian mode, dqmuu specifies an access to address 4n, and dqmll specifies an access to address 4n + 3. in little- endian mode, dqmuu specifies an access to address 4n + 3, and dqmll specifies an access to address 4n. 2.1.2 hm5225165att-a6 (4 mwords 16 bits 4 banks) bus state controller (bsc) settings: when two sdrams (hm5225165att-a6) are connected to area 3 of the sh7709a or sh7729 via a 16-bit bus, the bus state controller (bsc) must be specified as summarized below. table 2.1 lists the bsc register settings. note that the interface between sdram and the sh7709a or sh7729 is performed with bus clock = 66 mhz, cl = 2, tpc = 2, rcd = 2, trwl = 1, and tras = 4.
rev. 1.0, 02/02, page 5 of 26 table 2.1 bsc register settings (hm5225165att-a6) register name abbr. initial value address access size setting value bus control register 1 bcr1 h0000 hffffff60 16 h0008 bus control register 2 bcr2 h3ff0 hffffff62 16 h3fb0 wait state control register 1 wcr1 h3ff3 hffffff64 16 h3ff3 wait state control register 2 wcr2 hffff hffffff66 16 hffdf individual memory control register mcr h0000 hffffff68 16 h522c dram control register dcr h0000 hffffff6a 16 need not be set pcmcia control register pcr h0000 hffffff6c 16 need not be set refresh timer control/status register rtcsr h0000 hffffff6e 16 ha508 refresh timer counter rtcnt h0000 hffffff70 16 ha500 refresh time constant counter rtcor h0000 hffffff72 16 ha57c refresh count register rfcr h0000 hffffff74 16 need not be set bus control register 3 bcr3 h0000 hffffff7e 16 need not be set area 2 sdmr ? hffffd000 to hffffdfff 8 need not be set synchronous dram mode register area 3 hffffe000 to hffffefff write any value in address hffffe440 * mcs0 control register mcscr0 h0000 hffffff50 16 need not be set mcs1 control register mcscr1 h0000 hffffff52 16 need not be set mcs2 control register mcscr2 h0000 hffffff54 16 need not be set mcs3 control register mcscr3 h0000 hffffff56 16 need not be set mcs4 control register mcscr4 h0000 hffffff58 16 need not be set mcs5 control register mcscr5 h0000 hffffff5a 16 need not be set mcs6 control register mcscr6 h0000 hffffff5c 16 need not be set mcs7 control register mcscr7 h0000 hffffff5e 16 need not be set note: bits not related to this interface example show initial values. all register settings must be checked according to the user system. * in area 3, the sdmr address is determined by adding hffffe000 to the desired value to be set in sdmr. the desired value can be set in sdmr by writing any value in this address.
rev. 1.0, 02/02, page 6 of 26 interface circuit diagram: figure 2.1 shows an interface circuit for the case in which area 3 of the sh7709a or sh7729 is connected to sdram (hm5225165att-a6) via a 16-bit bus. sh7709a/sh7729 hm5225165att-a6 2 a24 a14 a13 a1 ckio cke rd/ dqmlu dqmll d15 d0 ba1 ba0 a12 a0 clk cke dqmu dqml dq15 dq0 v cc v cc q v ss v ss q ba1 ba0 a12 a0 clk cke dqmu dqml dq15 dq0 v cc v cc q v ss v ss q 3.3v gnd 3.3v gnd note: the address multiplex bits (amx) of mcr must be specified as amx [2:0]=101. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . figure 2.1 interface between sdram (hm5225165att-a6) and sh7709a or sh7729
rev. 1.0, 02/02, page 7 of 26 2.1.3 hm5212165dtd-b60 (2 mwords 16 bits 4 banks) bus state controller (bsc) settings: when two sdrams (hm5212165dtd-b60) are connected to area 3 of the sh7709a or sh7729 via a 32-bit bus, the bus state controller (bsc) must be specified as summarized below. table 2.2 lists the bsc register settings. note that the interface between sdram and the sh7709a or sh7729 is performed with bus clock = 66 mhz, cl = 2, tpc = 2, rcd = 2, trwl = 1, and tras = 4.
rev. 1.0, 02/02, page 8 of 26 table 2.2 bsc register settings (hm5212165dtd-b60) register name abbr. initial value address access size setting value bus control register 1 bcr1 h0000 hffffff60 16 h0008 bus control register 2 bcr2 h3ff0 hffffff62 16 h3ff0 wait state control register 1 wcr1 h3ff3 hffffff64 16 h3ff3 wait state control register 2 wcr2 hffff hffffff66 16 hffdf individual memory control register mcr h0000 hffffff68 16 h522c dram control register dcr h0000 hffffff6a 16 need not be set pcmcia control register pcr h0000 hffffff6c 16 need not be set refresh timer control/status register rtcsr h0000 hffffff6e 16 ha508 refresh timer counter rtcnt h0000 hffffff70 16 ha500 refresh time constant counter rtcor h0000 hffffff72 16 ha5f8 refresh count register rfcr h0000 hffffff74 16 need not be set bus control register 3 bcr3 h0000 hffffff7e 16 need not be set area 2 sdmr ? hffffd000 to hffffdfff 8 need not be set synchronous dram mode register area 3 hffffe000 to hffffefff write any value in address hffffe880 * mcs0 control register mcscr0 h0000 hffffff50 16 need not be set mcs1 control register mcscr1 h0000 hffffff52 16 need not be set mcs2 control register mcscr2 h0000 hffffff54 16 need not be set mcs3 control register mcscr3 h0000 hffffff56 16 need not be set mcs4 control register mcscr4 h0000 hffffff58 16 need not be set mcs5 control register mcscr5 h0000 hffffff5a 16 need not be set mcs6 control register mcscr6 h0000 hffffff5c 16 need not be set mcs7 control register mcscr7 h0000 hffffff5e 16 need not be set note: * in area 3, the sdmr address is determined by adding hffffe000 to the desired value to be set in sdmr. the desired value can be set in sdmr by writing any value in this address.
rev. 1.0, 02/02, page 9 of 26 interface circuit diagram: figure 2.2 shows an interface circuit for the case in which area 3 of the sh7709a or sh7729 is connected to sdram (hm5212165dtd-b60) via a 32-bit bus. sh7709/sh7729 a15 a2 ckio cke rd/ dqmuu dqmul d31 d16 dqmlu dqmll d15 d0 a13 a0 clk cke dqmu dqml dq15 dq0 v cc v cc q v ss v ss q a13 a0 clk cke dqmu dqml dq15 dq0 v cc v cc q v ss v ss q 3.3v gnd 3.3v gnd note: the address multiplex bits (amx) of mcr must be specified as amx [2:0]=101. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . hm5212165dtd-b60 2 figure 2.2 interface between sdram (hm5212165dtd-b60) and sh7709a or sh7729
rev. 1.0, 02/02, page 10 of 26 2.1.4 hm5264165tt-b60 (1 mword 16 bits 4 banks) bus state controller (bsc) settings: when two sdrams (hm5264165tt-b60) are connected to area 3 of the sh7709a or sh7729 via a 32-bit bus, the bus state controller (bsc) must be specified as summarized below. table 2.3 lists the bsc register settings. note that the interface between sdram and the sh7709a or sh7729 is performed with bus clock = 66 mhz, cl = 2, tpc = 2, rcd = 3, trwl = 1, and tras = 4.
rev. 1.0, 02/02, page 11 of 26 table 2.3 bsc register settings (hm5264165tt-b60) register name abbr. initial value address access size setting value bus control register 1 bcr1 h0000 hffffff60 16 h0008 bus control register 2 bcr2 h3ff0 hffffff62 16 h3ff0 wait state control register 1 wcr1 h3ff3 hffffff64 16 h3ff3 wait state control register 2 wcr2 hffff hffffff66 16 hffdf individual memory control register mcr h0000 hffffff68 16 h6224 dram control register dcr h0000 hffffff6a 16 need not be set pcmcia control register pcr h0000 hffffff6c 16 need not be set refresh timer control/status register rtcsr h0000 hffffff6e 16 ha508 refresh timer counter rtcnt h0000 hffffff70 16 ha500 refresh time constant counter rtcor h0000 hffffff72 16 ha5f8 refresh count register rfcr h0000 hffffff74 16 need not be set bus control register 3 bcr3 h0000 hffffff7e 16 need not be set area 2 sdmr ? hffffd000 to hffffdfff 8 need not be set synchronous dram mode register area 3 hffffe000 to hffffefff write any value in address hffffe880 * mcs0 control register mcscr0 h0000 hffffff50 16 need not be set mcs1 control register mcscr1 h0000 hffffff52 16 need not be set mcs2 control register mcscr2 h0000 hffffff54 16 need not be set mcs3 control register mcscr3 h0000 hffffff56 16 need not be set mcs4 control register mcscr4 h0000 hffffff58 16 need not be set mcs5 control register mcscr5 h0000 hffffff5a 16 need not be set mcs6 control register mcscr6 h0000 hffffff5c 16 need not be set mcs7 control register mcscr7 h0000 hffffff5e 16 need not be set note: * in area 3, the sdmr address is determined by adding hffffe000 to the desired value to be set in sdmr. the desired value can be set in sdmr by writing any value in this address.
rev. 1.0, 02/02, page 12 of 26 interface circuit diagram: figure 2.3 shows an interface circuit for the case in which area 3 of the sh7709a or sh7729 is connected to sdram (hm5264165tt-b60) via a 32-bit bus. a15 a2 ckio cke rd/ dqmuu dqmul d31 d16 dqmlu dqmll d15 d0 a13 a0 clk cke dqmu dqml dq15 dq0 v cc v cc q v ss v ss q a13 a0 clk cke dqmu dqml dq15 dq0 v cc v cc q v ss v ss q 3.3v gnd 3.3v gnd sh7709/sh7729 note: the address multiplex bits (amx) of mcr must be specified as amx [2:0]=100. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . hm5264165tt-b60 2 figure 2.3 interface between sdram (hm5264165tt-b60) and sh7709a or sh7729
rev. 1.0, 02/02, page 13 of 26 2.1.5 power-on sequence (sh7709a/sh7729) to use the synchronous dram, specify modes after power-on. to initialize the synchronous dram correctly, first specify the bus state controller registers and then specify the synchronous dram mode register. when specifying the synchronous dram mode register, the address signal value is latched depending on the combination of 5$6 , &$6 , and rd/ :5 signals. in this case, the bus state controller functions as follows. to write a designated value x to the dram mode register, write data to address hffffd000 + x for area 2 of synchronous dram and write data to hffffe000 + x for area 3 of synchronous dram. at this time, data written at addresses hffffd000 + x and hffffe000 + x is ignored and the dram mode register is written in byte units. to specify burst read/single write, cas latency as 1 to 3, sequential as lap type, and burst length as 1, write arbitrary data in byte units to the addresses listed below. area 2 area 3 32-bit bus width cas latency 1 fffd840 fffe840 cas latency 2 fffd880 fffe880 cas latency 3 fffd8c0 fffe8c0 area 2 area 3 16-bit bus width cas latency 1 fffd420 fffe420 cas latency 2 fffd440 fffe440 cas latency 3 fffd460 fffe460 by writing data to address hfffd000 + x or address hfffe000 + x, the precharge all banks command (pall) is first issued at cycle trp1, and a mode register write command is issued at the following cycle tmw1. the address signals when a mode register write command is issued are as follows. 32-bit bus width a15 to a9 0000100 (burst read and single write) a8 to a6 cas latency a5 0 (burst type = sequential) a4 to a2 000 (burst length 1) 16-bit bus width a14 to a8 0000100 (burst read and single write) a7 to a5 cas latency a4 0 (burst type = sequential) a3 to a1 000 (burst length 1)
rev. 1.0, 02/02, page 14 of 26 before specifying the mode register, 100 m s of idle time (differs depending on the memory manufacturer) required for synchronous dram must be ensured after power-on. if the pulse width of the reset signal is longer than this idle time, the mode register can be specified immediately after power-on. in addition, dummy auto-refresh cycles must be executed for the number of times specified by the manufacturer (normally 8 times) or more. dummy auto-refresh cycles are normally specified to be executed automatically during initializations after auto-refresh setting. however, to ensure execution of the auto-refresh cycles, the time intervals between refresh requests must be shortened while the dummy cycles are executed. note that the auto-refresh cycles must be executed in order to initialize the synchronous dram internal address counter because the synchronous dram internal address counter cannot be initialized by a normal read or write access. 2.2 sh7709 and sdram interface examples 2.2.1 synchronous dram direct connection (sh7709) synchronous dram can be selected via the &6 signal, and can be connected to areas 2 and 3 of the physical address space in the sh7709a or sh7729 by using common control signals such as ras. when the memory type bits (dramtp2 to dramtp0) of bcr1 are set to 010, area 2 and area 3 can be used as the normal memory area and synchronous dram area, respectively. when the memory type bits (dramtp2 to dramtp0) of bcr1 are set to 011, both areas 2 and 3 can be used as the synchronous dram area. this lsi supports burst read/single write mode with burst length 1 as a synchronous dram operating mode. the data bus width can be selected as either 16 bits or 32 bits. the burst enable bit (be) of mcr is ignored. in cache-fill/write-back cycles, 16-byte burst transfer is always performed. in write-through area write cycles or non-cacheable area read/write cycles, only one access is performed. to connect this lsi to synchronous dram directly, the 5$6 6 / , 5$6 6 8 , &$6/ , &$68 , rd/ :5 , &6 5 or &6 6 , dqmuu, dqmul, dqmlu, dqmll, and cke signals are used as control signals. these interface control signals, except for &6 5 and &6 6 , are common to each area. in addition, the interface control signals other than cke are valid and latched only when &6 5 or &6 6 is asserted. accordingly, synchronous dram can be connected in parallel to multiple areas. the cke signal is negated (brought low) only when self-refreshing is performed and the cke signal is normally asserted (brought high). the 5$6 6 / , 5$6 6 8 , &$6/ , and &$68 signal outputs are determined depending on whether the address is in the upper or lower 32 mbytes of each area. if the address is in the upper 32-mbyte area (area 2: h'0a000000 to h'0bffffff, area 3: h'0e000000 to h'0fffffff), 5$6 6 8 and &$68 are output. if it is in the lower 32-mbyte area (area 2: h'08000000 to h'09ffffff, area 3: h'0c000000 to h'0dffffff), 5$6 6 / and &$6/ are output. in refresh cycles and mode-register write cycles, 5$6 6 8 and 5$6 6 / or &$68 and &$6/ are output.
rev. 1.0, 02/02, page 15 of 26 the 5$6 6 / , 5$6 6 8 , &$6/ , &$68 and rd/ :5 signals and specific address signals specify a command for synchronous dram. the synchronous dram commands are nop, auto-refresh (ref), self-refresh (self), precharge all banks (pall), row address strobe bank active (acvt), read (read), read with precharge (reada), write (writ), write with precharge (writa), and mode register setting (mrs). byte specification is performed by dqmuu, dqmul, dqmlu, and dqmll. a read/write is performed for the byte for which the corresponding dqm is low. in big-endian mode, dqmuu specifies an access to address 4n, and dqmll specifies an access to address 4n + 3. in little- endian mode, dqmuu specifies an access to address 4n + 3, and dqmll specifies an access to address 4n.
rev. 1.0, 02/02, page 16 of 26 2.2.2 hm5212165d-b60 (2 mwords 16 bits 4 banks) bus state controller (bsc) settings: when two sdrams (hm5212165d-b60) are connected to area 3 of the sh7709 via a 32-bit bus, the bus state controller (bsc) must be specified as summarized below. table 2.4 lists the bsc register settings. note that the interface between sdram and the sh7709 is performed with bus clock = 40 mhz, cl = 2, tpc = 1, rcd = 1, trwl = 1, and tras = 2. table 2.4 bsc register settings (hm5212165d-b60) register name abbr. initial value address access size setting value bus control register 1 bcr1 h0000 hffffff60 16 h0008 bus control register 2 bcr2 h3ff0 hffffff62 16 h3ff0 wait state control register 1 wcr1 h3ff3 hffffff64 16 h3f33 wait state control register 2 wcr2 hffff hffffff66 16 hffdf individual memory control register mcr h0000 hffffff68 16 h000c dram control register dcr h0000 hffffff6a 16 need not be set pcmcia control register pcr h0000 hffffff6c 16 need not be set refresh timer control/status register rtcsr h0000 hffffff6e 16 ha508 refresh timer counter rtcnt h0000 hffffff70 16 ha500 refresh time constant counter rtcor h0000 hffffff72 16 ha54f refresh count register rfcr h0000 hffffff74 16 need not be set bus control register 3 bcr3 h0000 hffffff7e 16 need not be set area 2 sdmr ? hffffd000 to hffffdfff 8 need not be set synchronous dram mode register area 3 hffffe000 to hffffefff write any value in address hffffe880 * note: * in area 3, the sdmr address is determined by adding hffffe000 to the desired value to be set in sdmr. the desired value can be set in sdmr by writing any value in this address.
rev. 1.0, 02/02, page 17 of 26 interface circuit diagram: figure 2.4 shows an interface circuit for the case in which area 3 of the sh7709 is connected to sdram (hm5212165d-b60) via a 32-bit bus. sh7709 a24 a23 a13 a2 ckio cke rd/ dqmuu dqmul d31 d16 dqmlu dqmll d15 d0 a13 a12 a11 a0 clk cke dqmu dqml dq15 dq0 v cc v cc q v ss v ss q a13 a12 a11 a0 clk cke dqmu dqml dq15 dq0 v cc v cc q v ss v ss q 3.3v gnd 3.3v gnd note: upper addresses of the sh7709, which are not multiplexed with other pin functions, are used for sdram bank selection. in this interface example, a23 and a24 of the sh7709 are used. the address multiplex bits (amx) of mcr must be specified as amx[1:0]=01. note that only the upper or lower 32 mbytes in a 64-mbyte address space can be used. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . hm5212165d-b60 2 figure 2.4 interface between sdram (hm5212165d-b60) and sh7709
rev. 1.0, 02/02, page 18 of 26 2.2.3 hm5264165tt-b60 (1 mword 16 bits 4 banks) bus state controller (bsc) settings: when two sdrams (hm5264165tt-b60) are connected to area 3 of the sh7709 via a 32-bit bus, the bus state controller (bsc) must be specified as summarized below. table 2.5 lists the bsc register settings. note that the interface between sdram and the sh7709 is performed with bus clock = 40 mhz, cl = 2, tpc = 1, rcd = 1, trwl = 1, and tras = 2. table 2.5 bsc register settings (hm5264165tt-b60) register name abbr. initial value address access size setting value bus control register 1 bcr1 h0000 hffffff60 16 h0008 bus control register 2 bcr2 h3ff0 hffffff62 16 h3ff0 wait state control register 1 wcr1 h3ff3 hffffff64 16 h3f33 wait state control register 2 wcr2 hffff hffffff66 16 hffdf individual memory control register mcr h0000 hffffff68 16 h0004 dram control register dcr h0000 hffffff6a 16 need not be set pcmcia control register pcr h0000 hffffff6c 16 need not be set refresh timer control/status register rtcsr h0000 hffffff6e 16 ha508 refresh timer counter rtcnt h0000 hffffff70 16 ha500 refresh time constant counter rtcor h0000 hffffff72 16 ha54f refresh count register rfcr h0000 hffffff74 16 need not be set bus control register 3 bcr3 h0000 hffffff7e 16 need not be set area 2 sdmr ? hffffd000 to hffffdfff 8 need not be set synchronous dram mode register area 3 hffffe000 to hffffefff write any value in address hffffe880 * note: * in area 3, the sdmr address is determined by adding hffffe000 to the desired value to be set in sdmr. the desired value can be set in sdmr by writing any value in this address.
rev. 1.0, 02/02, page 19 of 26 interface circuit diagram: figure 2.5 shows an interface circuit for the case in which area 3 of the sh7709 is connected to sdram (hm5264165tt-b60) via a 32-bit bus. sh7709 a23 a22 a13 a2 ckio cke rd/ dqmuu dqmul d31 d16 dqmlu dqmll d15 d0 a13 a12 a11 a0 clk cke dqmu dqml dq15 dq0 v cc v cc q v ss v ss q a13 a12 a11 a0 clk cke dqmu dqml dq15 dq0 v cc v cc q v ss v ss q 3.3v gnd 3.3v gnd note: upper addresses of the sh7709, which are not multiplexed with other pin functions, are used for sdram bank selection. in this interface example, a22 and a23 of the sh7709 are used. the address multiplex bits (amx) of mcr must be specified as amx[1:0]=00. note that only the upper or lower 32 mbytes in a 64-mbyte address space can be used. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . hm5264165tt-b60 2 figure 2.5 interface between sdram (hm5264165tt-b60) and sh7709
rev. 1.0, 02/02, page 20 of 26 2.2.4 power-on sequence (sh7709) to use the synchronous dram, specify modes after power-on. to initialize the synchronous dram correctly, first specify the bus state controller registers and then specify the synchronous dram mode register. when specifying the synchronous dram mode register, the address signal value is latched depending on the combination of 5$6 , &$6 , and rd/ :5 signals. in this case, the bus state controller functions as follows. to write a designated value x to the dram mode register, write data to address hffffd000 + x for area 2 of synchronous dram and write data to hffffe000 + x for area 3 of synchronous dram. at this time, data written at addresses hffffd000 + x and hffffe000 + x is ignored and the dram mode register is written in byte units. to specify burst read/single write, cas latency as 1 to 3, sequential as lap type, and burst length as 1, write arbitrary data in byte units to the addresses listed below. area 2 area 3 cas latency 1 fffd840 fffe840 cas latency 2 fffd880 fffe880 cas latency 3 fffd8c0 fffe8c0 by writing data to address hfffd000 + x or address hfffe000 + x, the precharge all banks command (pall) is first issued at cycle trp1, and a mode register write command is issued at the following cycle tmw1. before specifying the mode register, 100 m s of idle time (differs depending on the memory manufacturer) required for synchronous dram must be ensured after power-on. if the pulse width of the reset signal is longer than this idle time, the mode register can be specified immediately after power-on. in addition, dummy auto-refresh cycles must be executed for the number of times specified by the manufacturer (normally 8 times) or more. dummy auto-refresh cycles are normally specified to be executed automatically during initializations after auto-refresh setting. however, to ensure execution of the auto-refresh cycles, the time intervals between refresh requests must be shortened while the dummy cycles are executed. note that the auto-refresh cycles must be executed in order to initialize the synchronous dram internal address counter because the synchronous dram internal address counter cannot be initialized by a normal read or write access.
rev. 1.0, 02/02, page 21 of 26 2.3 sh7708r and sdram interface examples 2.3.1 synchronous dram direct connection (sh7708r) synchronous dram can be selected via the &6 signal, and can be connected to area 2 and area 3 of the physical space in the sh7708r by using common control signals such as 5$6 . when the memory type bits (dramtp2 to dramtp0) of bcr1 are set to 010, area 2 and area 3 are used as the normal memory area and synchronous dram area, respectively. when the memory type bits (dramtp2 to dramtp0) of bcr1 are set to 011, both areas 2 and 3 are used as the synchronous dram area. this lsi supports burst read/single write mode with burst length 1 as a synchronous dram operating mode. the data bus width is fixed at 32 bits, and the size bit (sz) of mcr must always be set to 1. the burst enable bit (be) of mcr is ignored. accordingly, 16-byte burst transfer is always performed in cache-fill/write-back cycles, and only one access is performed in write- through area write cycles or non-cacheable area read/write cycles. to connect this lsi to synchronous dram directly, the 5$6 6 / , # 5$6 6 8 , &$6/ , # &$68 , rd/ :5 , # &6 5# or # &6 6 , dqmuu, dqmul, dqmlu, dqmll, and cke signals are used as control signals. these interface control signals, except for &6 5# and # &6 6/ are common to each area. in addition, the interface control signals other than cke are valid and latched only when &6 5# or &6 6# is asserted. accordingly, synchronous dram can be connected in parallel to multiple areas. the cke signal is negated (brought low) only when self-refreshing is performed and the cke signal is normally asserted (brought high). the 5$6 6 / , # 5$6 6 8 , &$6/ , # &$68 and rd/ :5 signals and specific address signals specify a command for synchronous dram. the synchronous dram commands are nop, auto-refresh (ref), self-refresh (self), precharge all banks (pall), row address strobe bank active (acvt), read (read), read with precharge (reada), write (writ), write with precharge (writa), and mode register setting (mrs). byte specification is performed by dqmuu, dqmul, dqmlu, and dqmll. a read/write is performed for the byte for which the corresponding dqm is low. in big-endian mode, dqmuu specifies an access to address 4n, and dqmll specifies an access to address 4n + 3. in little- endian mode, dqmuu specifies an access to address 4n + 3, and dqmll specifies an access to address 4n.
rev. 1.0, 02/02, page 22 of 26 2.3.2 hm5212165d-b60 (2 mwords 16 bits 4 banks) bus state controller (bsc) settings: when two sdrams (hm5212165d-b60) are connected to area 3 of the sh7708r via a 32-bit bus, the bus state controller (bsc) must be specified as summarized below. table 2.6 lists the bsc register settings. note that the interface between sdram and the sh7708r is performed with bus clock = 60 mhz, cl = 2, tpc = 1, rcd = 1, trwl = 1, and tras = 2. table 2.6 bsc register settings (hm5212165d-b60) register name abbr. initial value address access size setting value bus control register 1 bcr1 h0000 hffffff60 16 h0008 bus control register 2 bcr2 h3ffc hffffff62 16 h3ffc wait state control register 1 wcr1 h3ff3 hffffff64 16 h3fff wait state control register 2 wcr2 hffff hffffff66 16 hffdf individual memory control register mcr h0000 hffffff68 16 h000c dram control register dcr h0000 hffffff6a 16 need not be set pcmcia control register pcr h0000 hffffff6c 16 need not be set refresh timer control/status register rtcsr h0000 hffffff6e 16 ha508 refresh timer counter rtcnt h0000 hffffff70 16 ha500 refresh time constant counter rtcor h0000 hffffff72 16 ha5eb refresh count register rfcr h0000 hffffff74 16 need not be set bus control register 3 bcr3 h0000 hffffff7e 16 need not be set area 2 sdmr - hffffd000 to hffffdfff 8 need not be set synchronous dram mode register area 3 hffffe000 to hffffefff write any value in address hffffe880 * note: * in area 3, the sdmr address is determined by adding hffffe000 to the desired value to be set in sdmr. the desired value can be set in sdmr by writing any value in this address.
rev. 1.0, 02/02, page 23 of 26 interface circuit diagram: figure 2.6 shows an interface circuit for the case in which area 3 of the sh7708r is connected to sdram (hm5212165d-b60) via a 32-bit bus. sh7708r a24 a23 a13 a2 ckio cke rd/ dqmuu dqmul d31 d16 dqmlu dqmll d15 d0 a13 a12 a11 a0 clk cke dqmu dqml dq15 dq0 v cc v cc q v ss v ss q a13 a12 a11 a0 clk cke dqmu dqml dq15 dq0 v cc v cc q v ss v ss q 3.3v gnd 3.3v gnd note: upper addresses of the sh7708r, which are not multiplexed with other pin functions, are used for sdram bank selection. in this interface example, a23 and a24 of the sh7708r are used. the address multiplex bits (amx) of mcr must be specified as amx[1:0]=01. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . hm5212165d-b60 2 figure 2.6 interface between sdram (hm5212165d-b60) and sh7708r
rev. 1.0, 02/02, page 24 of 26 2.3.3 hm5264165-b60 (1 mword x 16 bits x 4 banks) bus state controller (bsc) settings: when two sdrams (hm5264165-b60) are connected to area 3 of the sh7708r via a 32-bit bus, the bus state controller (bsc) must be specified as summarized below. table 2.7 lists the bsc register settings. note that the interface between sdram and the sh7708r is performed with bus clock = 60 mhz, cl = 2, tpc = 1, rcd = 1, trwl = 1, and tras = 2. table 2.7 bsc register settings (hm5264165-b60) register name abbr. initial value address access size setting value bus control register 1 bcr1 h0000 hffffff60 16 h0008 bus control register 2 bcr2 h3ffc hffffff62 16 h3ffc wait state control register 1 wcr1 h3ff3 hffffff64 16 h3fff wait state control register 2 wcr2 hffff hffffff66 16 hffdf individual memory control register mcr h0000 hffffff68 16 h0004 dram control register dcr h0000 hffffff6a 16 need not be set pcmcia control register pcr h0000 hffffff6c 16 need not be set refresh timer control/status register rtcsr h0000 hffffff6e 16 ha508 refresh timer counter rtcnt h0000 hffffff70 16 ha500 refresh time constant counter rtcor h0000 hffffff72 16 ha582 refresh count register rfcr h0000 hffffff74 16 need not be set bus control register 3 bcr3 h0000 hffffff7e 16 need not be set area 2 sdmr ? hffffd000 to hffffdfff 8 need not be set synchronous dram mode register area 3 hffffe000 to hffffefff write any value in address hffffe880 * note: * in area 3, the sdmr address is determined by adding hffffe000 to the desired value to be set in sdmr. the desired value can be set in sdmr by writing any value in this address.
rev. 1.0, 02/02, page 25 of 26 interface circuit diagram: figure 2.7 shows an interface circuit for the case in which area 3 of the sh7708r is connected to sdram (hm5264165-b60) via a 32-bit bus. sh7708r a23 a22 a13 a2 ckio cke rd/ dqmuu dqmul d31 d16 dqmlu dqmll d15 d0 a13 a12 a11 a0 clk cke dqmu dqml dq15 dq0 v cc v cc q v ss v ss q a13 a12 a11 a0 clk cke dqmu dqml dq15 dq0 v cc v cc q v ss v ss q 3.3v gnd 3.3v gnd note: upper addresses of the sh7708r, which are not multiplexed with other pin functions, are used for sdram bank selection. in thisinterface example, a22 and a23 of the sh7708r are used. the address multiplex bits (amx) of mcr must be specified as amx[1:0]=00. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . hm5264165-b60 2 figure 2.7 interface between sdram (hm5264165-b60) and sh7708r
rev. 1.0, 02/02, page 26 of 26 2.3.4 power-on sequence (sh7708r) to use the synchronous dram, specify modes after power-on. to initialize the synchronous dram correctly, first specify the bus state controller registers and then specify the synchronous dram mode register. when specifying the synchronous dram mode register, the address signal value is latched depending on the combination of 5$6 , &$6 , and rd/ :5 signals. in this case, the bus state controller functions as follows. to write a designated value x to the dram mode register, write data to address hffffd000 + x for area 2 of synchronous dram and write data to hffffe000 + x for area 3 of synchronous dram. at this time, data written at addresses hffffd000 + x and hffffe000 + x is ignored and the dram mode register is written in byte units. to specify burst read/single write, cas latency as 1 to 3, sequential as lap type, and burst length as 1, write arbitrary data in byte units to the addresses listed below. area 2 area 3 cas latency 1 fffd840 fffe840 cas latency 2 fffd880 fffe880 cas latency 3 fffd8c0 fffe8c0 by writing data to address hfffd000 + x or address hfffe000 + x, the precharge all banks command (pall) is first issued at cycle trp1, and a mode register write command is issued at the following cycle tmw1. before specifying the mode register, 100 m s of idle time (differs depending on the memory manufacturer) required for synchronous dram must be ensured after power-on. if the pulse width of the reset signal is longer than this idle time, the mode register can be specified immediately after power-on. in addition, dummy auto-refresh cycles must be executed for the number of times specified by the manufacturer (normally 8 times) or more. dummy auto-refresh cycles are normally specified to be executed automatically during initializations after auto-refresh setting. however, to ensure execution of the auto-refresh cycles, the time intervals between refresh requests must be shortened while the dummy cycles are executed. note that the auto-refresh cycles must be executed in order to initialize the synchronous dram internal address counter because the synchronous dram internal address counter cannot be initialized by a normal read or write access.
sh-3, sh3-dsp sdram interface applicarion note publication date: 1st edition, february 2002 published by: semiconductor & integrated circuits hitachi, ltd. edited by: technical documentation group hitachi kodaira semiconductor co., ltd. copyright ? hitachi, ltd., 2002. all rights reserved. printed in japan.


▲Up To Search▲   

 
Price & Availability of HD6417709A

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X